<?php
/**
 * 支付模块
 */

Route::group([], function (\Illuminate\Routing\Router $router) {

    //支付回调
//    $router->post('notify', 'NotifyController@notify');
//    $router->post('we_chat', 'NotifyController@we_chat');

});

Route::group([
    'middleware' => 'jwt.auth',
], function (\Illuminate\Routing\Router $router) {

//    //获取支付签名
//    $router->post('getSign', 'PayController@getSign');
//
//    //充值界面
//    $router->any('rechargeView', 'FundsController@rechargeView');
//
//    //提现界面
    $router->any('cashView', 'FundsController@cashView');
//
//    //我的钱包
//    $router->any('wallet', 'FundsController@wallet');
//
//    //会员购买界面
//    $router->any('memberView', 'FundsController@memberView');
//
//    //提现账号编辑
//    $router->any('editAccount', 'FundsController@editAccount');

    //提现申请
    $router->any('cash', 'FundsController@cash');

    //充值记录
//    $router->any('recharges', 'FundsController@recharges');

    //提现记录
    $router->any('cashes', 'FundsController@cashes');

    //返利订单列表
    $router->get('rebates', 'FundsController@rebates');
    $router->get('details', 'FundsController@details');


//    $router->any('pays', 'FundsController@pays');




});